[PATCH] MDEV-38046 Make func_regexp_pcre tolerant to PCRE2 offset change
authorAquila Macedo <aquilamacedo@riseup.net>
Sat, 8 Nov 2025 00:09:05 +0000 (21:09 -0300)
committerOtto Kekäläinen <otto@debian.org>
Tue, 13 Jan 2026 19:03:57 +0000 (19:03 +0000)
commit4efa200f1ec1226b75bc80990e6a0514cd3762c9
treefdc37c6e3f3447862a19e4d292d75ff8e38f333d
parent57835ad28461908ce46aad4e3772d6c035f636bd
[PATCH] MDEV-38046 Make func_regexp_pcre tolerant to PCRE2 offset change

PCRE2 10.47 reports the invalid escape in 'A\q' at offset 3 instead of 2.
Update the expected result and add a --replace_regex in the test so the
suite passes with both older and newer PCRE2 versions.

Forwarded: https://jira.mariadb.org/browse/MDEV-38046
(accepted upstream, will be in MariaDB 11.8.6+)

Gbp-Pq: Name MDEV-38046-pcre2-offset.patch
mysql-test/main/func_regexp_pcre.result
mysql-test/main/func_regexp_pcre.test